using System;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
using System.Threading;
using System.Web.Services;
using System.Web.Services.Description;
using System.Web.Services.Protocols;
using DukeyCssFetch.Properties;

namespace DukeyCssFetch.api.mou18.com
{
	// Token: 0x0200003B RID: 59
	[GeneratedCode("System.Web.Services", "4.0.30319.18408"), DesignerCategory("code"), DebuggerStepThrough, WebServiceBinding(Name = "DukeyCssFetchAPISoap", Namespace = "http://www.mou18.com/")]
	public class DukeyCssFetchAPI : SoapHttpClientProtocol
	{
		// Token: 0x0600025F RID: 607 RVA: 0x0001DF64 File Offset: 0x0001C164
		public DukeyCssFetchAPI()
		{
			
			this.Url = Settings.Default.DukeyCssFetch_api_mou18_com_DukeyCssFetchAPI;
			if (this.method_7(this.Url))
			{
				this.UseDefaultCredentials = true;
				this.bool_0 = false;
				return;
			}
			this.bool_0 = true;
		}

		// Token: 0x0600028E RID: 654 RVA: 0x0001E8CC File Offset: 0x0001CACC
		public new void CancelAsync(object userState)
		{
			base.CancelAsync(userState);
		}

		// Token: 0x0600028A RID: 650 RVA: 0x0001E800 File Offset: 0x0001CA00
		[SoapDocumentMethod("http://www.mou18.com/Decrypt", RequestNamespace = "http://www.mou18.com/", ResponseNamespace = "http://www.mou18.com/", Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
		public string Decrypt(string original)
		{
			object[] array = base.Invoke("Decrypt", new object[]
			{
				original
			});
			return (string)array[0];
		}

		// Token: 0x0600028B RID: 651 RVA: 0x0001E830 File Offset: 0x0001CA30
		public void DecryptAsync(string original)
		{
			this.DecryptAsync(original, null);
		}

		// Token: 0x0600028C RID: 652 RVA: 0x0001E83C File Offset: 0x0001CA3C
		public void DecryptAsync(string original, object userState)
		{
			if (this.sendOrPostCallback_6 == null)
			{
				this.sendOrPostCallback_6 = new SendOrPostCallback(this.method_6);
			}
			base.InvokeAsync("Decrypt", new object[]
			{
				original
			}, this.sendOrPostCallback_6, userState);
		}

		// Token: 0x06000272 RID: 626 RVA: 0x0001E310 File Offset: 0x0001C510
		[SoapDocumentMethod("http://www.mou18.com/Download", RequestNamespace = "http://www.mou18.com/", ResponseNamespace = "http://www.mou18.com/", Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
		public bool Download(string url, string dir)
		{
			object[] array = base.Invoke("Download", new object[]
			{
				url,
				dir
			});
			return (bool)array[0];
		}

		// Token: 0x06000273 RID: 627 RVA: 0x0001E344 File Offset: 0x0001C544
		public void DownloadAsync(string url, string dir)
		{
			this.DownloadAsync(url, dir, null);
		}

		// Token: 0x06000274 RID: 628 RVA: 0x0001E350 File Offset: 0x0001C550
		public void DownloadAsync(string url, string dir, object userState)
		{
			if (this.sendOrPostCallback_0 == null)
			{
				this.sendOrPostCallback_0 = new SendOrPostCallback(this.method_0);
			}
			base.InvokeAsync("Download", new object[]
			{
				url,
				dir
			}, this.sendOrPostCallback_0, userState);
		}

		// Token: 0x06000286 RID: 646 RVA: 0x0001E734 File Offset: 0x0001C934
		[SoapDocumentMethod("http://www.mou18.com/Encrypt", RequestNamespace = "http://www.mou18.com/", ResponseNamespace = "http://www.mou18.com/", Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
		public string Encrypt(string original)
		{
			object[] array = base.Invoke("Encrypt", new object[]
			{
				original
			});
			return (string)array[0];
		}

		// Token: 0x06000287 RID: 647 RVA: 0x0001E764 File Offset: 0x0001C964
		public void EncryptAsync(string original)
		{
			this.EncryptAsync(original, null);
		}

		// Token: 0x06000288 RID: 648 RVA: 0x0001E770 File Offset: 0x0001C970
		public void EncryptAsync(string original, object userState)
		{
			if (this.sendOrPostCallback_5 == null)
			{
				this.sendOrPostCallback_5 = new SendOrPostCallback(this.method_5);
			}
			base.InvokeAsync("Encrypt", new object[]
			{
				original
			}, this.sendOrPostCallback_5, userState);
		}

		// Token: 0x06000282 RID: 642 RVA: 0x0001E668 File Offset: 0x0001C868
		[SoapDocumentMethod("http://www.mou18.com/GetUpdateVersion", RequestNamespace = "http://www.mou18.com/", ResponseNamespace = "http://www.mou18.com/", Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
		public string GetUpdateVersion(string currentversion)
		{
			object[] array = base.Invoke("GetUpdateVersion", new object[]
			{
				currentversion
			});
			return (string)array[0];
		}

		// Token: 0x06000283 RID: 643 RVA: 0x0001E698 File Offset: 0x0001C898
		public void GetUpdateVersionAsync(string currentversion)
		{
			this.GetUpdateVersionAsync(currentversion, null);
		}

		// Token: 0x06000284 RID: 644 RVA: 0x0001E6A4 File Offset: 0x0001C8A4
		public void GetUpdateVersionAsync(string currentversion, object userState)
		{
			if (this.sendOrPostCallback_4 == null)
			{
				this.sendOrPostCallback_4 = new SendOrPostCallback(this.method_4);
			}
			base.InvokeAsync("GetUpdateVersion", new object[]
			{
				currentversion
			}, this.sendOrPostCallback_4, userState);
		}

		// Token: 0x0600027A RID: 634 RVA: 0x0001E4C0 File Offset: 0x0001C6C0
		[SoapDocumentMethod("http://www.mou18.com/Html", RequestNamespace = "http://www.mou18.com/", ResponseNamespace = "http://www.mou18.com/", Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
		public string Html(string strLink, Encoding encoding)
		{
			object[] array = base.Invoke("Html", new object[]
			{
				strLink,
				encoding
			});
			return (string)array[0];
		}

		// Token: 0x0600027B RID: 635 RVA: 0x0001E4F4 File Offset: 0x0001C6F4
		public void HtmlAsync(string strLink, Encoding encoding)
		{
			this.HtmlAsync(strLink, encoding, null);
		}

		// Token: 0x0600027C RID: 636 RVA: 0x0001E500 File Offset: 0x0001C700
		public void HtmlAsync(string strLink, Encoding encoding, object userState)
		{
			if (this.sendOrPostCallback_2 == null)
			{
				this.sendOrPostCallback_2 = new SendOrPostCallback(this.method_2);
			}
			base.InvokeAsync("Html", new object[]
			{
				strLink,
				encoding
			}, this.sendOrPostCallback_2, userState);
		}

		// Token: 0x0600027E RID: 638 RVA: 0x0001E594 File Offset: 0x0001C794
		[SoapDocumentMethod("http://www.mou18.com/HtmlofAgent", RequestNamespace = "http://www.mou18.com/", ResponseNamespace = "http://www.mou18.com/", Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
		public string HtmlofAgent(string strLink, Encoding encoding)
		{
			object[] array = base.Invoke("HtmlofAgent", new object[]
			{
				strLink,
				encoding
			});
			return (string)array[0];
		}

		// Token: 0x0600027F RID: 639 RVA: 0x0001E5C8 File Offset: 0x0001C7C8
		public void HtmlofAgentAsync(string strLink, Encoding encoding)
		{
			this.HtmlofAgentAsync(strLink, encoding, null);
		}

		// Token: 0x06000280 RID: 640 RVA: 0x0001E5D4 File Offset: 0x0001C7D4
		public void HtmlofAgentAsync(string strLink, Encoding encoding, object userState)
		{
			if (this.sendOrPostCallback_3 == null)
			{
				this.sendOrPostCallback_3 = new SendOrPostCallback(this.method_3);
			}
			base.InvokeAsync("HtmlofAgent", new object[]
			{
				strLink,
				encoding
			}, this.sendOrPostCallback_3, userState);
		}

		// Token: 0x06000275 RID: 629 RVA: 0x0001E39C File Offset: 0x0001C59C
		private void method_0(object object_0)
		{
			if (this.downloadCompletedEventHandler_0 != null)
			{
				InvokeCompletedEventArgs invokeCompletedEventArgs = (InvokeCompletedEventArgs)object_0;
				this.downloadCompletedEventHandler_0(this, new DownloadCompletedEventArgs(invokeCompletedEventArgs.Results, invokeCompletedEventArgs.Error, invokeCompletedEventArgs.Cancelled, invokeCompletedEventArgs.UserState));
			}
		}

		// Token: 0x06000279 RID: 633 RVA: 0x0001E478 File Offset: 0x0001C678
		private void method_1(object object_0)
		{
			if (this.rexReplaceCompletedEventHandler_0 != null)
			{
				InvokeCompletedEventArgs invokeCompletedEventArgs = (InvokeCompletedEventArgs)object_0;
				this.rexReplaceCompletedEventHandler_0(this, new RexReplaceCompletedEventArgs(invokeCompletedEventArgs.Results, invokeCompletedEventArgs.Error, invokeCompletedEventArgs.Cancelled, invokeCompletedEventArgs.UserState));
			}
		}

		// Token: 0x0600027D RID: 637 RVA: 0x0001E54C File Offset: 0x0001C74C
		private void method_2(object object_0)
		{
			if (this.htmlCompletedEventHandler_0 != null)
			{
				InvokeCompletedEventArgs invokeCompletedEventArgs = (InvokeCompletedEventArgs)object_0;
				this.htmlCompletedEventHandler_0(this, new HtmlCompletedEventArgs(invokeCompletedEventArgs.Results, invokeCompletedEventArgs.Error, invokeCompletedEventArgs.Cancelled, invokeCompletedEventArgs.UserState));
			}
		}

		// Token: 0x06000281 RID: 641 RVA: 0x0001E620 File Offset: 0x0001C820
		private void method_3(object object_0)
		{
			if (this.htmlofAgentCompletedEventHandler_0 != null)
			{
				InvokeCompletedEventArgs invokeCompletedEventArgs = (InvokeCompletedEventArgs)object_0;
				this.htmlofAgentCompletedEventHandler_0(this, new HtmlofAgentCompletedEventArgs(invokeCompletedEventArgs.Results, invokeCompletedEventArgs.Error, invokeCompletedEventArgs.Cancelled, invokeCompletedEventArgs.UserState));
			}
		}

		// Token: 0x06000285 RID: 645 RVA: 0x0001E6EC File Offset: 0x0001C8EC
		private void method_4(object object_0)
		{
			if (this.getUpdateVersionCompletedEventHandler_0 != null)
			{
				InvokeCompletedEventArgs invokeCompletedEventArgs = (InvokeCompletedEventArgs)object_0;
				this.getUpdateVersionCompletedEventHandler_0(this, new GetUpdateVersionCompletedEventArgs(invokeCompletedEventArgs.Results, invokeCompletedEventArgs.Error, invokeCompletedEventArgs.Cancelled, invokeCompletedEventArgs.UserState));
			}
		}

		// Token: 0x06000289 RID: 649 RVA: 0x0001E7B8 File Offset: 0x0001C9B8
		private void method_5(object object_0)
		{
			if (this.encryptCompletedEventHandler_0 != null)
			{
				InvokeCompletedEventArgs invokeCompletedEventArgs = (InvokeCompletedEventArgs)object_0;
				this.encryptCompletedEventHandler_0(this, new EncryptCompletedEventArgs(invokeCompletedEventArgs.Results, invokeCompletedEventArgs.Error, invokeCompletedEventArgs.Cancelled, invokeCompletedEventArgs.UserState));
			}
		}

		// Token: 0x0600028D RID: 653 RVA: 0x0001E884 File Offset: 0x0001CA84
		private void method_6(object object_0)
		{
			if (this.decryptCompletedEventHandler_0 != null)
			{
				InvokeCompletedEventArgs invokeCompletedEventArgs = (InvokeCompletedEventArgs)object_0;
				this.decryptCompletedEventHandler_0(this, new DecryptCompletedEventArgs(invokeCompletedEventArgs.Results, invokeCompletedEventArgs.Error, invokeCompletedEventArgs.Cancelled, invokeCompletedEventArgs.UserState));
			}
		}

		// Token: 0x0600028F RID: 655 RVA: 0x0001E8D8 File Offset: 0x0001CAD8
		private bool method_7(string string_0)
		{
			if (string_0 != null && !(string_0 == string.Empty))
			{
				Uri uri = new Uri(string_0);
				return uri.Port >= 1024 && string.Compare(uri.Host, "localHost", StringComparison.OrdinalIgnoreCase) == 0;
			}
			return false;
		}

		// Token: 0x06000276 RID: 630 RVA: 0x0001E3E4 File Offset: 0x0001C5E4
		[SoapDocumentMethod("http://www.mou18.com/RexReplace", RequestNamespace = "http://www.mou18.com/", ResponseNamespace = "http://www.mou18.com/", Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
		public string RexReplace(string str, string[] arrstr, string replacewords)
		{
			object[] array = base.Invoke("RexReplace", new object[]
			{
				str,
				arrstr,
				replacewords
			});
			return (string)array[0];
		}

		// Token: 0x06000277 RID: 631 RVA: 0x0001E41C File Offset: 0x0001C61C
		public void RexReplaceAsync(string str, string[] arrstr, string replacewords)
		{
			this.RexReplaceAsync(str, arrstr, replacewords, null);
		}

		// Token: 0x06000278 RID: 632 RVA: 0x0001E428 File Offset: 0x0001C628
		public void RexReplaceAsync(string str, string[] arrstr, string replacewords, object userState)
		{
			if (this.sendOrPostCallback_1 == null)
			{
				this.sendOrPostCallback_1 = new SendOrPostCallback(this.method_1);
			}
			base.InvokeAsync("RexReplace", new object[]
			{
				str,
				arrstr,
				replacewords
			}, this.sendOrPostCallback_1, userState);
		}

		// Token: 0x17000033 RID: 51
		public new string Url
		{
			// Token: 0x06000260 RID: 608 RVA: 0x0001DFB0 File Offset: 0x0001C1B0
			get
			{
				return base.Url;
			}
			// Token: 0x06000261 RID: 609 RVA: 0x0001DFB8 File Offset: 0x0001C1B8
			set
			{
				if (this.method_7(base.Url) && !this.bool_0 && !this.method_7(value))
				{
					base.UseDefaultCredentials = false;
				}
				base.Url = value;
			}
		}

		// Token: 0x17000034 RID: 52
		public new bool UseDefaultCredentials
		{
			// Token: 0x06000262 RID: 610 RVA: 0x0001DFE8 File Offset: 0x0001C1E8
			get
			{
				return base.UseDefaultCredentials;
			}
			// Token: 0x06000263 RID: 611 RVA: 0x0001DFF0 File Offset: 0x0001C1F0
			set
			{
				base.UseDefaultCredentials = value;
				this.bool_0 = true;
			}
		}

		// Token: 0x14000011 RID: 17
		public event DecryptCompletedEventHandler DecryptCompleted
		{
			// Token: 0x06000270 RID: 624 RVA: 0x0001E2A0 File Offset: 0x0001C4A0
			add
			{
				DecryptCompletedEventHandler decryptCompletedEventHandler = this.decryptCompletedEventHandler_0;
				DecryptCompletedEventHandler decryptCompletedEventHandler2;
				do
				{
					decryptCompletedEventHandler2 = decryptCompletedEventHandler;
					DecryptCompletedEventHandler value2 = (DecryptCompletedEventHandler)Delegate.Combine(decryptCompletedEventHandler2, value);
					decryptCompletedEventHandler = Interlocked.CompareExchange<DecryptCompletedEventHandler>(ref this.decryptCompletedEventHandler_0, value2, decryptCompletedEventHandler2);
				}
				while (decryptCompletedEventHandler != decryptCompletedEventHandler2);
			}
			// Token: 0x06000271 RID: 625 RVA: 0x0001E2D8 File Offset: 0x0001C4D8
			remove
			{
				DecryptCompletedEventHandler decryptCompletedEventHandler = this.decryptCompletedEventHandler_0;
				DecryptCompletedEventHandler decryptCompletedEventHandler2;
				do
				{
					decryptCompletedEventHandler2 = decryptCompletedEventHandler;
					DecryptCompletedEventHandler value2 = (DecryptCompletedEventHandler)Delegate.Remove(decryptCompletedEventHandler2, value);
					decryptCompletedEventHandler = Interlocked.CompareExchange<DecryptCompletedEventHandler>(ref this.decryptCompletedEventHandler_0, value2, decryptCompletedEventHandler2);
				}
				while (decryptCompletedEventHandler != decryptCompletedEventHandler2);
			}
		}

		// Token: 0x1400000B RID: 11
		public event DownloadCompletedEventHandler DownloadCompleted
		{
			// Token: 0x06000264 RID: 612 RVA: 0x0001E000 File Offset: 0x0001C200
			add
			{
				DownloadCompletedEventHandler downloadCompletedEventHandler = this.downloadCompletedEventHandler_0;
				DownloadCompletedEventHandler downloadCompletedEventHandler2;
				do
				{
					downloadCompletedEventHandler2 = downloadCompletedEventHandler;
					DownloadCompletedEventHandler value2 = (DownloadCompletedEventHandler)Delegate.Combine(downloadCompletedEventHandler2, value);
					downloadCompletedEventHandler = Interlocked.CompareExchange<DownloadCompletedEventHandler>(ref this.downloadCompletedEventHandler_0, value2, downloadCompletedEventHandler2);
				}
				while (downloadCompletedEventHandler != downloadCompletedEventHandler2);
			}
			// Token: 0x06000265 RID: 613 RVA: 0x0001E038 File Offset: 0x0001C238
			remove
			{
				DownloadCompletedEventHandler downloadCompletedEventHandler = this.downloadCompletedEventHandler_0;
				DownloadCompletedEventHandler downloadCompletedEventHandler2;
				do
				{
					downloadCompletedEventHandler2 = downloadCompletedEventHandler;
					DownloadCompletedEventHandler value2 = (DownloadCompletedEventHandler)Delegate.Remove(downloadCompletedEventHandler2, value);
					downloadCompletedEventHandler = Interlocked.CompareExchange<DownloadCompletedEventHandler>(ref this.downloadCompletedEventHandler_0, value2, downloadCompletedEventHandler2);
				}
				while (downloadCompletedEventHandler != downloadCompletedEventHandler2);
			}
		}

		// Token: 0x14000010 RID: 16
		public event EncryptCompletedEventHandler EncryptCompleted
		{
			// Token: 0x0600026E RID: 622 RVA: 0x0001E230 File Offset: 0x0001C430
			add
			{
				EncryptCompletedEventHandler encryptCompletedEventHandler = this.encryptCompletedEventHandler_0;
				EncryptCompletedEventHandler encryptCompletedEventHandler2;
				do
				{
					encryptCompletedEventHandler2 = encryptCompletedEventHandler;
					EncryptCompletedEventHandler value2 = (EncryptCompletedEventHandler)Delegate.Combine(encryptCompletedEventHandler2, value);
					encryptCompletedEventHandler = Interlocked.CompareExchange<EncryptCompletedEventHandler>(ref this.encryptCompletedEventHandler_0, value2, encryptCompletedEventHandler2);
				}
				while (encryptCompletedEventHandler != encryptCompletedEventHandler2);
			}
			// Token: 0x0600026F RID: 623 RVA: 0x0001E268 File Offset: 0x0001C468
			remove
			{
				EncryptCompletedEventHandler encryptCompletedEventHandler = this.encryptCompletedEventHandler_0;
				EncryptCompletedEventHandler encryptCompletedEventHandler2;
				do
				{
					encryptCompletedEventHandler2 = encryptCompletedEventHandler;
					EncryptCompletedEventHandler value2 = (EncryptCompletedEventHandler)Delegate.Remove(encryptCompletedEventHandler2, value);
					encryptCompletedEventHandler = Interlocked.CompareExchange<EncryptCompletedEventHandler>(ref this.encryptCompletedEventHandler_0, value2, encryptCompletedEventHandler2);
				}
				while (encryptCompletedEventHandler != encryptCompletedEventHandler2);
			}
		}

		// Token: 0x1400000F RID: 15
		public event GetUpdateVersionCompletedEventHandler GetUpdateVersionCompleted
		{
			// Token: 0x0600026C RID: 620 RVA: 0x0001E1C0 File Offset: 0x0001C3C0
			add
			{
				GetUpdateVersionCompletedEventHandler getUpdateVersionCompletedEventHandler = this.getUpdateVersionCompletedEventHandler_0;
				GetUpdateVersionCompletedEventHandler getUpdateVersionCompletedEventHandler2;
				do
				{
					getUpdateVersionCompletedEventHandler2 = getUpdateVersionCompletedEventHandler;
					GetUpdateVersionCompletedEventHandler value2 = (GetUpdateVersionCompletedEventHandler)Delegate.Combine(getUpdateVersionCompletedEventHandler2, value);
					getUpdateVersionCompletedEventHandler = Interlocked.CompareExchange<GetUpdateVersionCompletedEventHandler>(ref this.getUpdateVersionCompletedEventHandler_0, value2, getUpdateVersionCompletedEventHandler2);
				}
				while (getUpdateVersionCompletedEventHandler != getUpdateVersionCompletedEventHandler2);
			}
			// Token: 0x0600026D RID: 621 RVA: 0x0001E1F8 File Offset: 0x0001C3F8
			remove
			{
				GetUpdateVersionCompletedEventHandler getUpdateVersionCompletedEventHandler = this.getUpdateVersionCompletedEventHandler_0;
				GetUpdateVersionCompletedEventHandler getUpdateVersionCompletedEventHandler2;
				do
				{
					getUpdateVersionCompletedEventHandler2 = getUpdateVersionCompletedEventHandler;
					GetUpdateVersionCompletedEventHandler value2 = (GetUpdateVersionCompletedEventHandler)Delegate.Remove(getUpdateVersionCompletedEventHandler2, value);
					getUpdateVersionCompletedEventHandler = Interlocked.CompareExchange<GetUpdateVersionCompletedEventHandler>(ref this.getUpdateVersionCompletedEventHandler_0, value2, getUpdateVersionCompletedEventHandler2);
				}
				while (getUpdateVersionCompletedEventHandler != getUpdateVersionCompletedEventHandler2);
			}
		}

		// Token: 0x1400000D RID: 13
		public event HtmlCompletedEventHandler HtmlCompleted
		{
			// Token: 0x06000268 RID: 616 RVA: 0x0001E0E0 File Offset: 0x0001C2E0
			add
			{
				HtmlCompletedEventHandler htmlCompletedEventHandler = this.htmlCompletedEventHandler_0;
				HtmlCompletedEventHandler htmlCompletedEventHandler2;
				do
				{
					htmlCompletedEventHandler2 = htmlCompletedEventHandler;
					HtmlCompletedEventHandler value2 = (HtmlCompletedEventHandler)Delegate.Combine(htmlCompletedEventHandler2, value);
					htmlCompletedEventHandler = Interlocked.CompareExchange<HtmlCompletedEventHandler>(ref this.htmlCompletedEventHandler_0, value2, htmlCompletedEventHandler2);
				}
				while (htmlCompletedEventHandler != htmlCompletedEventHandler2);
			}
			// Token: 0x06000269 RID: 617 RVA: 0x0001E118 File Offset: 0x0001C318
			remove
			{
				HtmlCompletedEventHandler htmlCompletedEventHandler = this.htmlCompletedEventHandler_0;
				HtmlCompletedEventHandler htmlCompletedEventHandler2;
				do
				{
					htmlCompletedEventHandler2 = htmlCompletedEventHandler;
					HtmlCompletedEventHandler value2 = (HtmlCompletedEventHandler)Delegate.Remove(htmlCompletedEventHandler2, value);
					htmlCompletedEventHandler = Interlocked.CompareExchange<HtmlCompletedEventHandler>(ref this.htmlCompletedEventHandler_0, value2, htmlCompletedEventHandler2);
				}
				while (htmlCompletedEventHandler != htmlCompletedEventHandler2);
			}
		}

		// Token: 0x1400000E RID: 14
		public event HtmlofAgentCompletedEventHandler HtmlofAgentCompleted
		{
			// Token: 0x0600026A RID: 618 RVA: 0x0001E150 File Offset: 0x0001C350
			add
			{
				HtmlofAgentCompletedEventHandler htmlofAgentCompletedEventHandler = this.htmlofAgentCompletedEventHandler_0;
				HtmlofAgentCompletedEventHandler htmlofAgentCompletedEventHandler2;
				do
				{
					htmlofAgentCompletedEventHandler2 = htmlofAgentCompletedEventHandler;
					HtmlofAgentCompletedEventHandler value2 = (HtmlofAgentCompletedEventHandler)Delegate.Combine(htmlofAgentCompletedEventHandler2, value);
					htmlofAgentCompletedEventHandler = Interlocked.CompareExchange<HtmlofAgentCompletedEventHandler>(ref this.htmlofAgentCompletedEventHandler_0, value2, htmlofAgentCompletedEventHandler2);
				}
				while (htmlofAgentCompletedEventHandler != htmlofAgentCompletedEventHandler2);
			}
			// Token: 0x0600026B RID: 619 RVA: 0x0001E188 File Offset: 0x0001C388
			remove
			{
				HtmlofAgentCompletedEventHandler htmlofAgentCompletedEventHandler = this.htmlofAgentCompletedEventHandler_0;
				HtmlofAgentCompletedEventHandler htmlofAgentCompletedEventHandler2;
				do
				{
					htmlofAgentCompletedEventHandler2 = htmlofAgentCompletedEventHandler;
					HtmlofAgentCompletedEventHandler value2 = (HtmlofAgentCompletedEventHandler)Delegate.Remove(htmlofAgentCompletedEventHandler2, value);
					htmlofAgentCompletedEventHandler = Interlocked.CompareExchange<HtmlofAgentCompletedEventHandler>(ref this.htmlofAgentCompletedEventHandler_0, value2, htmlofAgentCompletedEventHandler2);
				}
				while (htmlofAgentCompletedEventHandler != htmlofAgentCompletedEventHandler2);
			}
		}

		// Token: 0x1400000C RID: 12
		public event RexReplaceCompletedEventHandler RexReplaceCompleted
		{
			// Token: 0x06000266 RID: 614 RVA: 0x0001E070 File Offset: 0x0001C270
			add
			{
				RexReplaceCompletedEventHandler rexReplaceCompletedEventHandler = this.rexReplaceCompletedEventHandler_0;
				RexReplaceCompletedEventHandler rexReplaceCompletedEventHandler2;
				do
				{
					rexReplaceCompletedEventHandler2 = rexReplaceCompletedEventHandler;
					RexReplaceCompletedEventHandler value2 = (RexReplaceCompletedEventHandler)Delegate.Combine(rexReplaceCompletedEventHandler2, value);
					rexReplaceCompletedEventHandler = Interlocked.CompareExchange<RexReplaceCompletedEventHandler>(ref this.rexReplaceCompletedEventHandler_0, value2, rexReplaceCompletedEventHandler2);
				}
				while (rexReplaceCompletedEventHandler != rexReplaceCompletedEventHandler2);
			}
			// Token: 0x06000267 RID: 615 RVA: 0x0001E0A8 File Offset: 0x0001C2A8
			remove
			{
				RexReplaceCompletedEventHandler rexReplaceCompletedEventHandler = this.rexReplaceCompletedEventHandler_0;
				RexReplaceCompletedEventHandler rexReplaceCompletedEventHandler2;
				do
				{
					rexReplaceCompletedEventHandler2 = rexReplaceCompletedEventHandler;
					RexReplaceCompletedEventHandler value2 = (RexReplaceCompletedEventHandler)Delegate.Remove(rexReplaceCompletedEventHandler2, value);
					rexReplaceCompletedEventHandler = Interlocked.CompareExchange<RexReplaceCompletedEventHandler>(ref this.rexReplaceCompletedEventHandler_0, value2, rexReplaceCompletedEventHandler2);
				}
				while (rexReplaceCompletedEventHandler != rexReplaceCompletedEventHandler2);
			}
		}

		// Token: 0x04000282 RID: 642
		private bool bool_0;

		// Token: 0x04000289 RID: 649
		private DecryptCompletedEventHandler decryptCompletedEventHandler_0;

		// Token: 0x04000283 RID: 643
		private DownloadCompletedEventHandler downloadCompletedEventHandler_0;

		// Token: 0x04000288 RID: 648
		private EncryptCompletedEventHandler encryptCompletedEventHandler_0;

		// Token: 0x04000287 RID: 647
		private GetUpdateVersionCompletedEventHandler getUpdateVersionCompletedEventHandler_0;

		// Token: 0x04000285 RID: 645
		private HtmlCompletedEventHandler htmlCompletedEventHandler_0;

		// Token: 0x04000286 RID: 646
		private HtmlofAgentCompletedEventHandler htmlofAgentCompletedEventHandler_0;

		// Token: 0x04000284 RID: 644
		private RexReplaceCompletedEventHandler rexReplaceCompletedEventHandler_0;

		// Token: 0x0400027B RID: 635
		private SendOrPostCallback sendOrPostCallback_0;

		// Token: 0x0400027C RID: 636
		private SendOrPostCallback sendOrPostCallback_1;

		// Token: 0x0400027D RID: 637
		private SendOrPostCallback sendOrPostCallback_2;

		// Token: 0x0400027E RID: 638
		private SendOrPostCallback sendOrPostCallback_3;

		// Token: 0x0400027F RID: 639
		private SendOrPostCallback sendOrPostCallback_4;

		// Token: 0x04000280 RID: 640
		private SendOrPostCallback sendOrPostCallback_5;

		// Token: 0x04000281 RID: 641
		private SendOrPostCallback sendOrPostCallback_6;
	}
}
